method Socket.prototype.[Symbol.asyncDispose]
Jump to headingSocket.prototype.[Symbol.asyncDispose](): Promise<void>Calls socket.close() and returns a promise that fulfills when the socket has closed.
Return Type Jump to heading
Promise<void>Jump to headingSocket.prototype.[Symbol.asyncDispose](): Promise<void>Calls socket.close() and returns a promise that fulfills when the socket has closed.
Promise<void>